{include file="Public:header" /}
{include file="Public:nav" /}		
		
		<div class="bar bar-nav">
			<h1 class="title">消息</h1>
			<i class="icon icon-left" onclick="window.history.go(-1);"></i>
		</div>
		<div class="content">
			<div class="row">
				
				<div class="col-100 tabs">
					<div class="user_txt tab active" id="tabs_1">
						<div class="user_list list-block">
							<ul>
							<li>
						            <a href="{:U('activityMessage')}" class="item-link item-content">
						              <div class="item-media"><i class="icon icon-message"></i></div>
						              <div class="item-inner">
						                <div class="item-title open-indicator">活动消息 ({$count[0]})</div>
						              </div>
						            </a>
						         </li>
						         <li>
						            <a href="{:U('discussMessage')}" class="item-link item-content">
						              <div class="item-media"><i class="icon icon-message"></i></div>
						              <div class="item-inner">
						                <div class="item-title">讨论消息 ({$count[1]})</div>
						              </div>
						            </a>
						         </li>
<!--                                                         <li>
						            <a href="{:U('make_discuss_list')}" class="item-link item-content">
						              <div class="item-media"><i class="icon icon-message"></i></div>
						              <div class="item-inner">
						                <div class="item-title open-indicator">评论消息 ({$count[4]})</div>
						              </div>
						            </a>
						         </li>-->
                                                         <li>
						            <a href="{:U('makeMessage')}" class="item-link item-content">
						              <div class="item-media"><i class="icon icon-message"></i></div>
						              <div class="item-inner">
						                <div class="item-title open-indicator">预约消息 ({$count[3]})</div>
						              </div>
						            </a>
						         </li>
                                                         <li>
						            <a href="{:U('applyMessage')}" class="item-link item-content">
						              <div class="item-media"><i class="icon icon-message"></i></div>
						              <div class="item-inner">
						                <div class="item-title open-indicator">专家审核 ({$count[2]})</div>
						              </div>
						            </a>
						         </li>
							</ul>
						</div>
					</div>
				</div>
			</div>
</div>
{include file="Public:footer" /}

<script>
//Zepto.toast('操作成功，正在跳转...', 2000, 'success top');
var  page = 1;
 /*** ajax 提交表单 查询订单列表结果*/  
 function ajax_sourch_submit()
 {	 	 	 
	 	$(".infinite-scroll-preloader").show();
        page += 1;
		$.ajax({
			type : "GET",
			//url:"/index.php?m=Mobile&c=User&a=collect_list&is_ajax=1&p="+page,//+tab,			
			url:"/Users/newActivity/is_ajax/1/p/"+page,//+tab,
//			data : $('#filter_form').serialize(),// 你的formid 搜索表单 序列化提交
			success: function(data)
			{
				$(".infinite-scroll-preloader").hide();
				if($.trim(data) == ''){
					$('#load_more').hide();
				}else{
				    $("#new_ul").append(data);
				}
			}
		}); 
 } 
</script>